package cn.cheln.explorer.ui;

import android.app.Activity;
import android.view.View;
import cn.cheln.support.log.Logs;

public class Switcher
{
  public static void compareView(ViewHolder paramViewHolder, View paramView, Activity paramActivity)
  {
    if (paramViewHolder.getView() == null)
    {
      paramViewHolder.start();
      return;
    }
    Logs.i("", paramView + " ----------------->");
    if (paramViewHolder.getView() != paramView)
      paramActivity.setContentView(paramViewHolder.getView());
    paramViewHolder.dataChanged(new Object[0]);
    paramViewHolder.rebind();
  }

  public static void viewFlowTo(ViewHolder paramViewHolder, View paramView, Activity paramActivity)
  {
    Logs.i("", " toView contentView " + paramView);
    Logs.i("", " toView toViewHolder.getView() " + paramViewHolder.getView());
    if (paramViewHolder.getView() == null)
      paramViewHolder.start();
    for (int i = 1; ; i = 0)
    {
      if (paramViewHolder.getView() != paramView)
        paramView = paramViewHolder.getView();
      if (i == 0)
        paramActivity.setContentView(paramView);
      paramViewHolder.dataChanged(new Object[0]);
      paramViewHolder.rebind();
      return;
      paramViewHolder.init();
    }
  }
}

/* Location:           H:\360云盘\lewa_explorer_3.0\bin\FileApp_orig_dex2jar.jar
 * Qualified Name:     cn.cheln.explorer.ui.Switcher
 * JD-Core Version:    0.5.2
 */